package xin.javashare.designPattern.creation.abstractFactory;

import xin.javashare.designPattern.creation.abstractFactory.service.Provider;
import xin.javashare.designPattern.creation.abstractFactory.service.Sender;

/**
 * 测试类
 */
public class Test {
    public static void main(String[] args) {
        Provider provider = new SendMailFactory();
        Sender sender = provider.produce();
        sender.Send();
    }
}

